import { createApp } from 'vue'
import 'amfe-flexible'
import '@/styles/reset.css' // 引入重置样式
import { Button } from 'vant'
import 'vant/lib/index.css'
import App from './App.vue'
import router from './router' //引入路由对象
import pinia from './stores' // 引入pinia
// 引入TabBar
import { Tabbar, TabbarItem } from 'vant'

const app = createApp(App)

// 声明使用插件
app.use(Tabbar)
app.use(Button)
app.use(TabbarItem)
app.use(router)
app.use(pinia)
app.mount('#app')
